package com.wo.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sun.istack.internal.NotNull;
import com.wo.cloud.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/4/27 9:58
 * Description: Oauth 2.0 Client Entity
 */

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_client_details")
public class SysClientDetails extends BaseEntity implements Serializable {

    @NotNull
    private String clientId;

    @NotNull
    private String clientSecret;

    private String scope;

    private String resourceIds;

    private String authorizedGrantTypes;

    private String webServerRedirectUri;

    private String autoApproveScopes;

    private String authorities;

    private Integer accessTokenValiditySeconds;

    private Integer refreshTokenValiditySeconds;

    private String additionalInformation;
}
